<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="quanqiuchi ued">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" type="text/css" href="../bootstrap-3.3.5/dist/css/bootstrap.min.css" media="screen, projection">
    <!--     <link rel="stylesheet" type="text/css" href="../bootstrap-3.3.5/dist/css/bootstrap-theme.min.css" media="screen, projection"> -->
    <link rel="stylesheet" type="text/css" href="../css/style.css" media="screen, projection">
</head>

<body>
    <!--右边栏 Start-->
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="page-header fm-hd">
                    <h4><span style="font-size:12px;">当前位置：交易管理&nbsp;&gt;&nbsp;</span>用户管理</h4>
                </div>
                <!-- 查询模块 Start -->
                <div class="fm-query">
                    <div class="frmbox">
                    	<form id="excel" name="excel" style="display: none" method="post"> </form>
                        <form id="serchForm" id="serchForm" name="serchForm">
                            <div class="querybox">
                                <div class="form-group">
                                    <label class="control-label">用户账号：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control" id="username" name="username">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">收货地址：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control" id="consignee_address" name="consignee_address">
                                    </div>
                                </div>
                                <div class="clearit"></div>
                                <div class="form-group" style="margin:0;">
                                    <label class="control-label">收货人姓名：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control" id="consignee_name" name="consignee_name">
                                    </div>
                                </div>
                                 <div class="form-group" style="margin:0;">
                                    <label class="control-label">收货人手机号：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control" id="consignee_mobile" name="consignee_mobile" datatype="n0-11" errormsg="请输入正确的手机号">
                                    </div>
                                </div>
                                <div class="clearit"></div>
                                <div class="form-group" style="margin:0;">
                                	<label class="control-label">下单次数：</label>
                                	<div class="control-con">
                                    	<input type="text" class="form-control w130" id="first_order_num" name="first_order_num" datatype="numCompare"><span class="w40">——</span>
                                    	<input type="text" class="form-control w130" id="last_order_num"  name="last_order_num" datatype="numCompare">
                                	</div>
                            	</div>
                            	<div class="form-group" style="margin:0;">
                                    <label class="control-label">下单总额：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control" id="order_price" name="order_price" datatype="/(^\s*$)|(^[+]?[1-9]\d{0,9}(\.\d{1,2})?$)|(^[+]?[0]{1}(\.\d{1,2})?$)/" errormsg="下单总额范围为[0-9999999999.99]">
                                    </div>
                                </div>
                                <div class="clearit"></div>
                                <div class="form-group">
                                	<label class="control-label">注册时间：</label>
                                	<div class="control-con">
                                    	<input type="text" class="form-control w130" id="first_register_time" name="first_register_time" readonly="readonly" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'last_register_time\')||\'\'}'})"><span class="w40">——</span>
                                    	<input type="text" class="form-control w130" id="last_register_time" name="last_register_time" readonly="readonly" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'first_register_time\')||\'\'}'})">
                                	</div>
                            	</div> 
                                <div class="form-group">
                                	<label class="control-label">最近下单时间：</label>
                                	<div class="control-con">
                                    	<input type="text" class="form-control w130" id="first_last_order_time" name="first_last_order_time" readonly="readonly" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'last_last_order_time\')||\'\'}'})"><span class="w40">——</span>
                                    	<input type="text" class="form-control w130" id="last_last_order_time" name="last_last_order_time" readonly="readonly" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'first_last_order_time\')||\'\'}'})">
                                	</div>
                            	</div>
                                <div class="form-group">
                                	<label class="control-label">账户余额：</label>
                                	<div class="control-con">
	                                  <select class="form-control" id="balance" name="balance">
	                                       <option value>请选择</option>
	                                       <option value="1">余额&gt0</option>
	                                       <option value="0">余额=0</option>
	                                       <option value="-1">余额&lt0</option>
	                                  </select>
                                	</div>
                            	</div>    
                                <div class="clearit"></div> 
                                <!-- <div class="form-group">
                                    <label class="control-label">是否有新消息：</label>
                                    <div class="control-con">
                                        <input type="checkbox" class="chk" name="msgflag" style="margin:10px 0 0 0;"/>
                                    </div>
                                </div>
                                <div class="clearit"></div>      -->                  	                               
                            </div>
                            <div class="querybtn">
                                <button class="btn btn-primary serchBtn" type="button">搜索</button>
                                <button class="btn btn-default resetBtn" type="button">重置</button>
                                <button class="btn btn-default excelBtn" type="button">搜索并导出</button>
                            </div>
                        </form>
                    </div>
                </div>
                <!-- 查询模块 End -->
                <!-- 订单列表 Start -->
                <div class="order-list">
                	<div class="admin-total">
                		<p><span>总下单金额：<em id="od_count">0</em></span><span>搜索的下单总额：<em id="serch_od_count">0</em></span><span>占比：<em id="sub_od_percent">0%</em></span><span>全部用户服务反馈数共：<em id="all_eval_count">0</em>次</span><span><i class="iconfont icon-pie" id="all_eval_percent">&#xe67a;</i></span></p>
                    	<p><span>总用户数：<em id="us_count">0</em></span><span>搜索的用户数：<em id="serch_us_count">0</em></span><span>占比：<em id="sub_us_percent">0%</em></span><span>全部用户不喜欢产品反馈数共：<em id="not_all_like_eval_count">0</em>次</span><span><i class="iconfont icon-pie" id="not_all_like_eval_percent">&#xe67a;</i></span></p>
                	</div>
                    <h4>用户列表</h4>
                    <div class="dddbox">
                        <table class="table table-striped ddd-table" id="user_tpl">
                            
                        </table>
                    </div>
                    <!-- 订单列表 End -->
                    <!-- 分页 Start -->
                    <div class="pagebox" id="pageBox" style="display: none">
                		<div class="numbox">共<span class="blue3" id="records">8</span>条记录</div>
                		<ul class="pagination fm_pageination" id="page">
                    <li>
                        <a href="#">上一页</a>
                    </li>
                    <li class="active">
                        <a href="#">1</a>
                    </li>
                    <li>
                        <a href="#">2</a>
                    </li>
                    <li>
                        <a href="#">3</a>
                    </li>
                    <li>
                        <a href="#">4</a>
                    </li>
                    <li>
                        <a href="#">5</a>
                    </li>
                    <li>
                        <a href="#">下一页</a>
                    </li>
                </ul>
            </div>
                    <!-- 分页 End -->
                </div>
            </div>
        </div>
        <!--右边栏 End-->
        
 <!-- 修改账户余额  开始 -->
<div class="modal fade" id="balanceModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
    <div class="modal-dialog" id="balance_tpl">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">用户账户余额编辑</h4>
            </div>
            <div class="modal-body popfrm">
                <form class="form-horizontal" role="form">
                	<input type="hidden" name="userid"/>
                    <div class="form-group">
                        <label  class="pop-left">账户余额：</label>
                        <div class="pop-right">
                            <input type="text" class="form-control" name="balance" placeholder="直接输入金额即可" datatype="/(^[-|+]?[1-9]\d{0,8}(\.\d{1,2})?$)|(^[-|+]?[0]{1}(\.\d{1,2})?$)/" errormsg="金额范围为[-99999999.99-99999999.99]" nullmsg="请输入金额!" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="pop-left">操作人姓名：</label>
                        <div class="pop-right staffName"> 管理员</div>
                    </div>
                    <div class="form-group">
                        <label class="pop-left">工号：</label>
                        <div class="pop-right staffNo"> 00001</div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消
                </button>
                <button type="button" class="btn btn-primary upbalance">提交</button>
            </div>
            <div class="modal-body balacebox">
	            <div class="historylist">
	            	<div class="list-title">用户账户余额历史记录<span>（只显示最新的3条记录）</span></div>
	            	<div class="list-body">
	            		<ul>
	            			<li>
	            				<div class="list-id">用户账户：<span>960.00</span></div>
	            				<div class="list-date">2016-09-29 16:30</div>
	            				<div class="list-name">操作人及工号：  张三   00003</div>
	            			</li>
	            			<li>
	            				<div class="list-id">用户账户：<span>960.00</span></div>
	            				<div class="list-date">2016-09-29 16:30</div>
	            				<div class="list-name">操作人及工号：  张三   00003</div>
	            			</li>
	            			<li>
	            				<div class="list-id">用户账户：<span>960.00</span></div>
	            				<div class="list-date">2016-09-29 16:30</div>
	            				<div class="list-name">操作人及工号：  张三   00003</div>
	            			</li>
	            		</ul>	
	            	</div>
	            </div>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
</div>
<!-- /修改账户余额  结束 -->
<!-- 消息提示框  -->
	 <div class="mes-container" id="msg_dialog">

	</div>
       <!-- <div id="main" style="height:500px;border:1px solid #ccc;padding:10px;"></div>   -->
       
       <div class="modal" id="piewindown" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
            <div class="modal-dialog" style="width:800px;">
            	 <div class="modal-content">
		            	<div class="modal-header">
		                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		                <h4 class="modal-title" id="myModalLabel">饼状图</h4>
		            </div>
		            <div class="modal-body" id="main" style="height:500px;padding:40px;"></div>
                </div>
            </div>
        </div>
        <script src="../js/modules/order/user.js?v=1.2.2"></script>
</body>

</html>
